package com.atguigu.lease.web.app.service;

import com.atguigu.lease.common.exception.LeaseException;
import com.atguigu.lease.web.app.vo.user.LoginVo;
import com.atguigu.lease.web.app.vo.user.UserInfoVo;

public interface LoginService {
    void getSMScode(String phone) throws LeaseException;

    String login(LoginVo loginVo) throws LeaseException;

    UserInfoVo getUserInfoById(Long userId);
}
